#include "osgqtapplication.h"
#include <QtWidgets/QApplication>

#ifdef _DEBUG
#pragma comment (lib, "osgd")
#pragma comment (lib, "osgGAd")
#pragma comment (lib, "osgDBd")
#pragma comment (lib, "osgQtd")
#pragma comment (lib, "osgFxd")
#pragma comment (lib, "osgTextd")
#pragma comment (lib, "osgUtild")
#pragma comment (lib, "osgViewerd")
#pragma comment (lib, "openThreadsd")
#else
#pragma comment (lib, "osg")
#pragma comment (lib, "osgGA")
#pragma comment (lib, "osgDB")
#pragma comment (lib, "osgQt")
#pragma comment (lib, "osgFx")
#pragma comment (lib, "osgText")
#pragma comment (lib, "osgUtil")
#pragma comment (lib, "osgViewer")
#pragma comment (lib, "openThreads")
#endif

#pragma comment( linker, "/subsystem:\"console\" /entry:\"mainCRTStartup\"")

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    osgQtApplication w;
    w.show();
    return a.exec();
}
